package com.yuandian.api.management.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 网络拓扑图组件IP配置表-实体
 * @author zfsn
 * @date 2023-3-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "组件IP配置表", description = "组件IP配置表")
@TableName("conf_component_ip_info")
public class ConfNetTopologyComponentIp extends BasePage<ConfNetTopologyComponentIp> {

	/**
	 * 主键，唯一标识数据
	 */
	@ApiModelProperty(value = "主键", notes = "主键，唯一标识数据")
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 主键，唯一标识数据
	 */
	@TableField(exist = false)
	@ApiModelProperty(value = "主键", notes = "主键，唯一标识数据")
	private List<Integer> ids;

	/**
	 * 所属网端id
	 */
	@ApiModelProperty(value = "所属节点id", notes = "所属节点id")
	private Integer componentId;

	/**
	 * IP
	 */
	@ApiModelProperty(value = "IP", notes = "IP")
	private String ip;

	/**
	 * 整数型IP
	 */
	@ApiModelProperty(value = "整数型IP", notes = "整数型IP")
	private Long ipNumber;

}